package com.bw.dao;

import com.bw.bean.Goods;
import com.bw.bean.Goods2;
import com.bw.bean.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IDao {
    //1
    List<User> list();
    //2
    List<User> list2();
    //3
    List<Goods> list3();
    //4
    List<Goods2> list4();
    //5
    int add(@Param("add") User user);
    //6
    int del(@Param("id") int id);

}
